package com.eastfair.pay.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * 付款计划
 * </p>
 *
 * @author clm
 * @since 2022-06-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "PaymentPlanPayedVO", description = "付款计划付款详情")
public class PaymentPlanPayedVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 付款时间
     */
    @ApiModelProperty(value = "付款时间")
    private LocalDateTime collectTime;

    /**
     * 付款金额
     */
    @ApiModelProperty(value = "付款金额")
    private BigDecimal payedAmount;

    /**
     * 认款人
     */
    private String collectUser;



    /**
     * 计划付款百分比(百分比*100)
     */
    @ApiModelProperty(value = "计划付款百分比(百分比*100)")
    private String percent;
    /**
     * 计划回款金额
     */
    @ApiModelProperty(value = "计划回款金额")
    private BigDecimal planPayAmount;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Size(max = 255, message = "备注长度不能超过255")
    private String remark;


}
